package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_OperateCompanyBrand", catalog="Id")
public class ThrOperateCompanyBrand extends BaseEntity<ThrOperateCompanyBrand> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="BrandName", nameJava="brandName", typeDataBase="varchar")
	private String brandName;
	@YsField(nameDataBase="BrandStatus", nameJava="brandStatus", typeDataBase="varchar")
	private String brandStatus;
	@YsField(nameDataBase="OtherFile", nameJava="otherFile", typeDataBase="varchar")
	private String otherFile;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrOperateCompanyBrand setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public ThrOperateCompanyBrand setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public ThrOperateCompanyBrand setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public String getBrandName() {
		return brandName;
	}
	public ThrOperateCompanyBrand setBrandName(String brandName) {
		this.brandName = brandName;
		return this;
	}
	public String getBrandStatus() {
		return brandStatus;
	}
	public ThrOperateCompanyBrand setBrandStatus(String brandStatus) {
		this.brandStatus = brandStatus;
		return this;
	}
	public String getOtherFile() {
		return otherFile;
	}
	public ThrOperateCompanyBrand setOtherFile(String otherFile) {
		this.otherFile = otherFile;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrOperateCompanyBrand setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrOperateCompanyBrand setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrOperateCompanyBrand setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrOperateCompanyBrand thrOperateCompanyBrand(
		String vgsbm,
		String countryCode,
		String brandName,
		String brandStatus,
		String otherFile,
		Integer status
			) {
		ThrOperateCompanyBrand entity = new ThrOperateCompanyBrand();
		entity.setVgsbm(vgsbm);
		entity.setCountryCode(countryCode);
		entity.setBrandName(brandName);
		entity.setBrandStatus(brandStatus);
		entity.setOtherFile(otherFile);
		entity.setStatus(status);
		return entity;
	}
}